import request from '@/config/axios'

// 查询设置列表
export const getCustomServicesList = (params) => {
  return request.get({ url: '/earthquake/mq/page', params })
}

// 获取设置详情
export const getCustomServices = (id: number) => {
  return request.get({ url: '/earthquake/mq/get?id=' + id })
}

// 新增设置
export const saveCustomServices = (data) => {
  return request.post({ url: '/earthquake/mq/createOrUpdate', data })
}

// 删除设置
export const deleteCustomServices = (data) => {
  return request.delete({ url: '/earthquake/mq/delete', data})
}
